﻿using System;
using System.ComponentModel.DataAnnotations;

namespace TaoNiuOA.Models
{
    /// <summary>
    /// 工作日实体
    /// </summary>
    public class Workday
    {
        [Key]
        public int WorkDayID { get; set; }

        [Display(Name = "日期")]
        public string Date { get; set; }

        [Display(Name = "星期")]
        public string DayOfWeek { get; set; }

        [Display(Name = "上班时间")]
        public string OnWork { get; set; }

        [Display(Name = "下班时间")]
        public string OffWork { get; set; }
        
        [Display(Name = "是否假日")]
        public bool IsHoliday { get; set; }
    }
}